package com.example.fence.util;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


/**
 * 工具类，用于包装获取到的data
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Result {
    private Integer code; //StatusCode
    private Boolean success;
    private Object data; //查询到的结果
    private String msg; //信息

}
